package edu.bw.controller.json;

import edu.bw.vo.Form;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/form")
public class FormController {


    @PostMapping("/submitForm.do")
    public Form submitForm(@RequestBody Form form){
        System.out.println(form);
        return form;
    }


}
